package com.example.vueserver.vueserver.service;

import com.example.vueserver.vueserver.bean.SysRoleMenu;
import com.example.vueserver.vueserver.dao.SysRoleMenuMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("sysRoleMenuService")
public class SysRoleMenuService {
    @Autowired
    SysRoleMenuMapper sysRoleMenuMapper;

    public List<SysRoleMenu> listByRoleId(Integer roleId) {
        return sysRoleMenuMapper.listByRoleId(roleId);
    }
}
